.page {
  background-color: white;
  padding: 14px;
  box-sizing: border-box;
  color: #333;
}

.home-container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  /* 启用平滑滚动（iOS） */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  overflow: hidden;
  height: calc(100vh - 44px);
}

.home-container::-webkit-scrollbar {
  display: none;
}

.logo {
  display: block;
  width: 270px;
  height: 270px;
  margin: 0 auto;
}

.button {
  display: block;
  width: 100%;
  background-color: transparent;
  border-radius: 2px;
  margin-top: 20px;
}

.home-content {
  padding: 104px 16px 16px;
  font-size: 14px;
  // top: 54px;
  position: relative;
  // height: calc(100vh - (200px + env(safe-area-inset-bottom) + 20px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;


}

.home-content::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/新版 Edge */
  width: 0 !important;
  /* 部分安卓设备需要 */
  height: 0 !important;
}

// searchbar开始
.search-container {
  display: flex;
  background-color: #fff;
  position: fixed !important;
  position: -webkit-fixed;
  padding-top: 49px;
  width: 100%;
  height: 44px;
  z-index: 99999;
  .search-container-AtSearchBar{
    width: 53%;
  }
  .custom-search-bar {
    width: 100%;
    padding-right: 0 !important;
  }

  .at-search-bar__input-cnt {
    border-radius: 0 !important;
    height: 32px;
  }

  .home-entrance {
    position: fixed;
    right: 16px;

    .entrance-icon {
      width: 20px;
      height: 34px;
      display: inline-block;
      top: 7px;
      position: relative;
    }

    .entrance-icon:nth-child(2) {
      width: 40px;
      margin: 0 24px;
    }
  }

  .at-search-bar__placeholder-wrap .at-icon,
  .at-search-bar__placeholder {
    color: #111 !important;
    font-size: 14px !important;
  }
}

//tabbar样式开始
.home-tab {
  .at-tabs__header {
    position: fixed;

    height: 44px;
    // line-height: 44px;
    background-color: #fff;
    z-index: 999999;
    display: inline-block !important;

    .at-tabs__item--active {
      font-size: 18px !important;
      font-weight: 700;
      color: rgba(0, 0, 0, 0.9) !important;
    }

    .at-tabs__item {
      width: 80px;
      font-size: 14px;
      padding: 5px 0 !important;
      float: left;
      color: rgba(0, 0, 0, 0.5);
    }

    .at-tabs__item-underline {
      height: 6px;
      width: 36px;
      text-align: center;
      background-color: transparent !important;
      background-position: -22px 0;
      background-image: url('https://file.linkcook.cn/image/wineMiniProgram/home/underline.png');
      left: 22px !important;
      bottom: 6px;
      background-size: contain;
    }
  }

  .at-tabs__body {
    // margin-top: 30px;
    position: relative;
    margin-bottom: 30px;
  }

}

//tabbar样式结束

.homePopupClass {
  height: 362px !important;
}

.publish-modal-container {
  padding: 0 16px;

  .publish-title {
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.8);
    display: flex;
    text-align: center;
    align-items: center;

    .draftBox {
      width: 16px;
      height: 16px;
      margin-right: 6px;
    }
  }

  .publish-contents {
    width: 100%;
    height: 165px;
    background: rgb(244, 244, 244);

    .content-header {
      width: calc(100% - 24px);
      height: 46px;
      margin-left: 12px;
      line-height: 46px;
      font-size: 18px;
      font-weight: bold;
      box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.1);
    }

    .content-container {
      width: calc(100% - 24px);
      margin-left: 12px;
      height: 84px;
      color: rgba(0, 0, 0, 0.3);
      font-size: 15px;
      padding-top: 12px;
      box-sizing: border-box;
    }

    .content-footer {
      display: flex;
      margin-left: 12px;
      font-size: 14px;
      color: rgba(0, 0, 0, 0.3);
      margin-bottom: 12px;
      align-items: center;

      .addPic {
        width: 26px;
        height: 24px;
        margin-right: 8px;
      }
    }
  }

  .publish-buttons {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 8px;

    .button-container {
      width: 62px;
      height: 62px;
      background: rgb(244, 244, 244);
      display: flex;
      align-items: center;
      text-align: center;

      .bt-icon {
        width: 26px;
        height: 26px;
        margin: auto;
      }

      .bt-icon-article {
        width: 25px;
        height: 24px;
        margin: auto;
      }

      .bt-icon-video {
        width: 30px;
        height: 21px;
        margin: auto;
      }
    }

    .bt-desc {
      font-size: 14px;
      height: 22px;
      line-height: 22px;
      color: rgba(0, 0, 0, 0.9);
      text-align: center;
    }
  }
}